//
//  GoodsType.m
//  fGeekApp
//
//  Created by Administrator on 15/3/9.
//  Copyright (c) 2015年 cwx. All rights reserved.
//

#import "GoodsType.h"

@implementation GoodsType

-(GoodsType *)initGoodsTypeInstanceByDict:(NSDictionary *)dict{
    
    if (self = [super init]) {
        self.goodsTypeID = [[dict valueForKey:@"type_id"] integerValue];
        self.goodsTypeName = [dict valueForKey:@"type_name"];
    }
    return self;
}

+(GoodsType *)getGoodsTypeInstanceByDict:(NSDictionary *)dict{
    return [[self alloc]initGoodsTypeInstanceByDict:dict];
}


@end
